/*
 * @Author: LVGRAPE
 * @Date: 2022-08-22 15:26:31
 * @LastEditTime: 2023-03-09 20:18:35
 * @LastEditors: LVGRAPE
 * @Description:
 * @FilePath: \ZINO_MCU_SOURCE\cores\ZINO_RC\arduino.c
 * 可以输入预定的版权声明、个性签名、空行等
 */
 /*
  * @Author: LVGRAPE
  * @LastEditors: LVGRAPE
  */
#ifdef USEMAKEFILE

#include "Arduino.h"

#warning "USEMAKEFILE"

#ifdef NRF_BROADCAST
#warning "Building NRF_BROADCAST"
void setup() {
    // rc_ctrl_init();
    rcCommander_init();
}

void loop() {
    rcCommander_loop();
    //  rc_status_ctrl();
}
#else

#warning "Building ZINO_RC"

void setup() {
    rc_ctrl_init();
}

void loop() {
    rc_status_ctrl();

}

#endif

#endif